// Octopod
// Copyright
//
// GPL
//
// This file contains a class to represent a single peer that we know about.

#ifndef OCTOPOD_PEER_H__
#define OCTOPOD_PEER_H__

#include <string>

namespace octopod {

// incomplete at the moment
class Peer {
  public:
    // Returns this peer's public key hash.
    // Returns an empty string upon error.
    const std::string &keyhash();

    // Returns this peer's public key
    // The returned key should not be deallocated.
    // Returns NULL upon error.
    const Botan::Public_Key *pubkey();

    // Returns this peer's private key
    // This returned key should not be deallocated.
    // Returns NULL upon error.
    const Botan::Private_Key *privkey();

  private:

};

}

#endif  // OCTOPOD_PEER_H__
